package com.tinem.platform.module.starter.sdk.config;

import com.tinem.platform.module.starter.sdk.api.LinkService;
import com.tinem.platform.module.starter.sdk.api.NetworkService;
import com.tinem.platform.module.starter.sdk.api.UserManagerService;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author fzh
 * @version v1
 * @program: platform
 * @className GatewayConfig
 * @description TODO
 * @site 
 * @company 
 * @create 2020-09-04 15:02
 */
@Data
@Configuration
public class GatewayConfig {

    @Value("${platform.gateway.url}")
    private String url;

    @Bean
    public UserManagerService userManagerService(){
        return new UserManagerService();
    }
    @Bean
    public LinkService linkService(){
        return new LinkService();
    }
    @Bean
    public NetworkService networkService(){
        return new NetworkService();
    }
}
